package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;


public class CSAcademicTitleDTO extends Object implements IsSerializable, ICSDTO {
	
	private long id;
	private String title;
	
	public CSAcademicTitleDTO() {}
	
	public CSAcademicTitleDTO(String title) {
		this.title = title;
	}
	
	public CSAcademicTitleDTO(long id, String title) {
		super();
		this.id = id;
		this.title = title;
	}

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String toString() {
		String result = "" +
			"[ " + CSAcademicTitleDTO.class + "]" +
			"title: " + title; 
		return result;
	}
	

}
